#this is the object you want to get
obj-m := vhost_net.o
vhost_net-y := vhost.o net.o

#this is the path of your kernel
PWD := $(shell pwd)

all:
	$(MAKE) -C /lib/modules/`uname -r`/build M=$(PWD) modules

clean:
	rm -rf *.o *~ core .depend .*.cmd *.ko *.mod.c .tmp_versions modules.order Module.symvers

.PHONY: all clean

